home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
windows
/
wdj1096.zip
/
ZOLMAN.ZIP
/
DRAW.ZIP
/
DRAWPPG.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-22
|
2KB
|
77 lines
// DrawPpg.cpp : Implementation of the CDrawPropPage property page class.
#include "stdafx.h"
#include "Draw.h"
#include "DrawPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CDrawPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CDrawPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CDrawPropPage)
// NOTE - ClassWizard will add and remove message map entries
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid
IMPLEMENT_OLECREATE_EX(CDrawPropPage, "DRAW.DrawPropPage.1",
0x23c3764, 0xb40a, 0x11cf, 0xa6, 0x4f, 0, 0xa0, 0x24, 0x25, 0xfb, 0x94)
/////////////////////////////////////////////////////////////////////////////
// CDrawPropPage::CDrawPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CDrawPropPage
BOOL CDrawPropPage::CDrawPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_DRAW_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CDrawPropPage::CDrawPropPage - Constructor
CDrawPropPage::CDrawPropPage() :
COlePropertyPage(IDD, IDS_DRAW_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CDrawPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CDrawPropPage::DoDataExchange - Moves data between page and properties
void CDrawPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CDrawPropPage)
// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_MAP
DDP_PostProcessing(pDX);
}
/////////////////////////////////////////////////////////////////////////////
// CDrawPropPage message handlers